﻿using Pay.DTO;
namespace Pay.IService {
    public interface IMerchantReceivablesService {
        /// <summary>
        /// 添加收款信息
        /// </summary>
        /// <param name="model"></param>
        /// <param name="merchantId"></param>
        /// <returns></returns>
        bool AddReceivables(merchant_receivables_model model, long merchantId);
        /// <summary>
        /// 获取用户账号基本信息
        /// </summary>
        /// <param name="merchantId"></param>
        /// <returns></returns>
        marketing_user_info_dto GetMarketingUserInfo(long merchantId);
        /// <summary>
        /// 获取收款信息
        /// </summary>
        /// <param name="merchantId"></param>
        /// <returns></returns>
        merchant_receivables_dto_ex GetReceivables(long merchantId);
        /// <summary>
        /// 获取收款信息
        /// </summary>
        /// <param name="merchantId"></param>
        /// <returns></returns>
        recivables_dto GetReceivablesInfo(long merchantId);
        /// <summary>
        /// 获取当前用户公司信息
        /// </summary>
        /// <param name="curMerchantId"></param>
        /// <returns></returns>
        merchant_receivables_dto_ex GetCurCityCompanyReceivables(long curMerchantId);
        /// <summary>
        /// 更新收款信息
        /// </summary>
        /// <param name="model"></param>
        /// <param name="merchantId"></param>
        /// <returns></returns>
        bool UpdateReceivables(merchant_receivables_model_ex model, long merchantId);
    }
}
